Factors Affecting Biogas Production